<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Newton Dynamics: ndCudaContextImplement Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo_php.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Newton Dynamics
   &#160;<span id="projectnumber">4.00</span>
   </div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.svg"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classnd_cuda_context_implement.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classnd_cuda_context_implement-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ndCudaContextImplement Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a92f892a5b30047f27f6baf57a9e08b1f"><td class="memItemLeft" align="right" valign="top"><a id="a92f892a5b30047f27f6baf57a9e08b1f"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ndCudaContextImplement</b> (const <a class="el" href="classnd_cuda_device.html">ndCudaDevice</a> *const device)</td></tr>
<tr class="separator:a92f892a5b30047f27f6baf57a9e08b1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6566a7cf4d4940fdc65af7acc99dc861"><td class="memItemLeft" align="right" valign="top"><a id="a6566a7cf4d4940fdc65af7acc99dc861"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>Begin</b> ()</td></tr>
<tr class="separator:a6566a7cf4d4940fdc65af7acc99dc861"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a730974ea2e2b274dc42b03bb6e208e82"><td class="memItemLeft" align="right" valign="top"><a id="a730974ea2e2b274dc42b03bb6e208e82"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>End</b> ()</td></tr>
<tr class="separator:a730974ea2e2b274dc42b03bb6e208e82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc0aa5d6970a11dda75c6401850c3896"><td class="memItemLeft" align="right" valign="top"><a id="abc0aa5d6970a11dda75c6401850c3896"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>GetTimeInSeconds</b> () const</td></tr>
<tr class="separator:abc0aa5d6970a11dda75c6401850c3896"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a6bd82bad1e8489cdcd7f359c5ec954"><td class="memItemLeft" align="right" valign="top"><a id="a0a6bd82bad1e8489cdcd7f359c5ec954"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>ResizeBuffers</b> (int size)</td></tr>
<tr class="separator:a0a6bd82bad1e8489cdcd7f359c5ec954"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2db409ccf65523937be999dd48d9515b"><td class="memItemLeft" align="right" valign="top"><a id="a2db409ccf65523937be999dd48d9515b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>LoadBodyData</b> (const <a class="el" href="classnd_cuda_body_proxy.html">ndCudaBodyProxy</a> *const src, int size)</td></tr>
<tr class="separator:a2db409ccf65523937be999dd48d9515b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa007ffa9955b4b3f006b76553d5ae93b"><td class="memItemLeft" align="right" valign="top"><a id="aa007ffa9955b4b3f006b76553d5ae93b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>InitBodyArray</b> ()</td></tr>
<tr class="separator:aa007ffa9955b4b3f006b76553d5ae93b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc08c0b082892557fadbf3411cfd7fa2"><td class="memItemLeft" align="right" valign="top"><a id="acc08c0b082892557fadbf3411cfd7fa2"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>UpdateTransform</b> ()</td></tr>
<tr class="separator:acc08c0b082892557fadbf3411cfd7fa2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa220c3cbe35e786d7c30793a4a0ae194"><td class="memItemLeft" align="right" valign="top"><a id="aa220c3cbe35e786d7c30793a4a0ae194"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>ValidateContextBuffers</b> ()</td></tr>
<tr class="separator:aa220c3cbe35e786d7c30793a4a0ae194"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5420d6da63ab9792b9af90f5107ca951"><td class="memItemLeft" align="right" valign="top"><a id="a5420d6da63ab9792b9af90f5107ca951"></a>
<a class="el" href="classnd_cuda_spatial_vector.html">ndCudaSpatialVector</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>GetTransformBuffer</b> ()</td></tr>
<tr class="separator:a5420d6da63ab9792b9af90f5107ca951"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06b6ecd26c0f40b7d18969ff45f4d873"><td class="memItemLeft" align="right" valign="top"><a id="a06b6ecd26c0f40b7d18969ff45f4d873"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>IntegrateBodies</b> (float timestep)</td></tr>
<tr class="separator:a06b6ecd26c0f40b7d18969ff45f4d873"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2bb2b2d07e46fc936669dff482beaefa"><td class="memItemLeft" align="right" valign="top"><a id="a2bb2b2d07e46fc936669dff482beaefa"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>IntegrateUnconstrainedBodies</b> (float timestep)</td></tr>
<tr class="separator:a2bb2b2d07e46fc936669dff482beaefa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ae998d62b632001ddb13f44e6ef2f8483"><td class="memItemLeft" align="right" valign="top"><a id="ae998d62b632001ddb13f44e6ef2f8483"></a>
const <a class="el" href="classnd_cuda_device.html">ndCudaDevice</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>m_device</b></td></tr>
<tr class="separator:ae998d62b632001ddb13f44e6ef2f8483"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45b1ddd4c11ef5066f7c1d4ac4efa5e2"><td class="memItemLeft" align="right" valign="top"><a id="a45b1ddd4c11ef5066f7c1d4ac4efa5e2"></a>
<a class="el" href="classnd_cuda_scene_info.html">ndCudaSceneInfo</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>m_sceneInfoGpu</b></td></tr>
<tr class="separator:a45b1ddd4c11ef5066f7c1d4ac4efa5e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b8214303def7549550ba0ea0d95da21"><td class="memItemLeft" align="right" valign="top"><a id="a4b8214303def7549550ba0ea0d95da21"></a>
<a class="el" href="classnd_cuda_scene_info.html">ndCudaSceneInfo</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>m_sceneInfoCpu</b></td></tr>
<tr class="separator:a4b8214303def7549550ba0ea0d95da21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e38ce2f4e11457558c82aa33ef5d992"><td class="memItemLeft" align="right" valign="top"><a id="a2e38ce2f4e11457558c82aa33ef5d992"></a>
<a class="el" href="classnd_cuda_device_buffer.html">ndCudaDeviceBuffer</a>&lt; unsigned &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_histogram</b></td></tr>
<tr class="separator:a2e38ce2f4e11457558c82aa33ef5d992"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51ab642bb8c0f54fbde2897b852af2ee"><td class="memItemLeft" align="right" valign="top"><a id="a51ab642bb8c0f54fbde2897b852af2ee"></a>
<a class="el" href="classnd_cuda_device_buffer.html">ndCudaDeviceBuffer</a>&lt; <a class="el" href="classnd_cuda_body_proxy.html">ndCudaBodyProxy</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_bodyBuffer</b></td></tr>
<tr class="separator:a51ab642bb8c0f54fbde2897b852af2ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfd6f9c4551ded14f064e11d3fb801db"><td class="memItemLeft" align="right" valign="top"><a id="adfd6f9c4551ded14f064e11d3fb801db"></a>
<a class="el" href="classnd_cuda_device_buffer.html">ndCudaDeviceBuffer</a>&lt; <a class="el" href="classnd_cuda_scene_node.html">ndCudaSceneNode</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_sceneGraph</b></td></tr>
<tr class="separator:adfd6f9c4551ded14f064e11d3fb801db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a774cfe6fd67818ef7b19fdff2e64727f"><td class="memItemLeft" align="right" valign="top"><a id="a774cfe6fd67818ef7b19fdff2e64727f"></a>
<a class="el" href="classnd_cuda_device_buffer.html">ndCudaDeviceBuffer</a>&lt; <a class="el" href="classnd_cuda_body_aabb_cell.html">ndCudaBodyAabbCell</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_bodyAabbCell</b></td></tr>
<tr class="separator:a774cfe6fd67818ef7b19fdff2e64727f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e8554bd158958a048caaa3339840c0f"><td class="memItemLeft" align="right" valign="top"><a id="a2e8554bd158958a048caaa3339840c0f"></a>
<a class="el" href="classnd_cuda_device_buffer.html">ndCudaDeviceBuffer</a>&lt; <a class="el" href="classnd_cuda_body_aabb_cell.html">ndCudaBodyAabbCell</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_bodyAabbCellScratch</b></td></tr>
<tr class="separator:a2e8554bd158958a048caaa3339840c0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef1a03e1a9d17f521a27de34c8d48d54"><td class="memItemLeft" align="right" valign="top"><a id="aef1a03e1a9d17f521a27de34c8d48d54"></a>
<a class="el" href="classnd_cuda_device_buffer.html">ndCudaDeviceBuffer</a>&lt; <a class="el" href="classnd_cuda_spatial_vector.html">ndCudaSpatialVector</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_transformBuffer0</b></td></tr>
<tr class="separator:aef1a03e1a9d17f521a27de34c8d48d54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01d1f271898d89a651829702332ff224"><td class="memItemLeft" align="right" valign="top"><a id="a01d1f271898d89a651829702332ff224"></a>
<a class="el" href="classnd_cuda_device_buffer.html">ndCudaDeviceBuffer</a>&lt; <a class="el" href="classnd_cuda_spatial_vector.html">ndCudaSpatialVector</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_transformBuffer1</b></td></tr>
<tr class="separator:a01d1f271898d89a651829702332ff224"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa152dbc4a43816ca233b825f47e92ab7"><td class="memItemLeft" align="right" valign="top"><a id="aa152dbc4a43816ca233b825f47e92ab7"></a>
<a class="el" href="classnd_cuda_host_buffer.html">ndCudaHostBuffer</a>&lt; <a class="el" href="classnd_cuda_spatial_vector.html">ndCudaSpatialVector</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_transformBufferCpu</b></td></tr>
<tr class="separator:aa152dbc4a43816ca233b825f47e92ab7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c445405397dd0d6a97a00ee539e2f7e"><td class="memItemLeft" align="right" valign="top"><a id="a3c445405397dd0d6a97a00ee539e2f7e"></a>
cudaStream_t&#160;</td><td class="memItemRight" valign="bottom"><b>m_solverMemCpuStream</b></td></tr>
<tr class="separator:a3c445405397dd0d6a97a00ee539e2f7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ecab46e2d24b7d9977fd32e3485412d"><td class="memItemLeft" align="right" valign="top"><a id="a0ecab46e2d24b7d9977fd32e3485412d"></a>
cudaStream_t&#160;</td><td class="memItemRight" valign="bottom"><b>m_solverComputeStream</b></td></tr>
<tr class="separator:a0ecab46e2d24b7d9977fd32e3485412d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71ae21064c0460ee74ea008de1e1e13a"><td class="memItemLeft" align="right" valign="top"><a id="a71ae21064c0460ee74ea008de1e1e13a"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>m_timeInSeconds</b></td></tr>
<tr class="separator:a71ae21064c0460ee74ea008de1e1e13a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4fef148bcbc08593b48b768ab5cc245"><td class="memItemLeft" align="right" valign="top"><a id="ab4fef148bcbc08593b48b768ab5cc245"></a>
unsigned&#160;</td><td class="memItemRight" valign="bottom"><b>m_frameCounter</b></td></tr>
<tr class="separator:ab4fef148bcbc08593b48b768ab5cc245"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classnd_cuda_context_implement.html">ndCudaContextImplement</a></li>
    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  </ul>
</div>
</body>
</html>
